<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>article edit</title>
    <%@ include file="include/resources.jsp"%>
    <script type="text/javascript" src="/MyBlog/js/edit.js"></script>
    <script type="text/javascript" charset="utf-8" src="/MyBlog/lib/ueditor/1.4.3.3/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/MyBlog/lib/ueditor/1.4.3.3/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/MyBlog/lib/ueditor/1.4.3.3/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
    <%@include file="include/header.jsp"%>
    <form class="form-inline my-2 my-lg-0" style="margin-left: 800px;" >
               <button class="btn btn-outline-success my-2 my-sm-0" type="submit">标题</button>
			   <input class="form-control mr-sm-2" type="text" placeholder="文章名。。。。" id="articleTitle" value="${title}">
    </form>
    <script id="editor" type="text/plain" style="width:800px;height:300px;margin: 0 auto;margin-top: 0px;">${content}</script>
	<script type="text/javascript">var ue = UE.getEditor('editor');</script>
	<a href="javascript:void(0)" class="btn btn-primary " style="margin-left: 900px;margin-top: 20px;" id="updateArticle">提交修改</a>
    <input value="${articleId}" id="articleId">
    
    
    
</body>
</html>